Add a css name to GtkShortcutsShortcut
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Dec 2015 18:13:38 +0000 (13:13 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Dec 2015 18:22:26 +0000 (13:22 -0500)
This will be useful for tweaking the gesture image details,
among other things.

gtk/gtkshortcutsshortcut.c

index af5515dce72eb08c293e5fdd69a1ca20d16621ef..967a536ad773dd19f544ebe5d1a9e5fb82d4bdb5 100644 (file)
@@ -610,6 +610,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
                        (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_properties (object_class, LAST_PROP, properties);
+  gtk_widget_class_set_css_name (widget_class, "shortcut");
 }
 
 static void